#include <stdio.h>
#include <assert.h>
void main(int argc, char *argv[])
{
	char rd_buf[1024];
	FILE *ifd = NULL;
	ifd = fopen(argv[1], "r");
	assert(ifd != NULL);
	while(feof(ifd) == 0) {
		fread(rd_buf, 1, sizeof(rd_buf), ifd);
		//puts(rd_buf);
		printf("%s", rd_buf);
	}
	fclose(ifd);
}
